package com.yaowk.api.system.service;

import com.yaowk.api.common.IBaseService;
import com.yaowk.api.system.model.Login;
import com.yaowk.api.system.model.User;

import java.util.List;

public interface IUserService extends IBaseService<User, Integer> {

    List<String> findPermissionsByUser(User user);

    void roleEdit(Integer userId, List<Integer> roleIds);

    void login(Login login);

}
